//
//  GiftContentModel.m
//  礼物说
//
//  Created by dllo on 16/4/25.
//  Copyright © 2016年 sunzhichao. All rights reserved.
//

#import "GiftContentModel.h"

@implementation GiftContentModel

- (void)dealloc{
    [_name release];
    [_price release];
    [_detail_html release];
    [_content release];
    [_imgArr release];
    [_url release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"description"]) {
        self.content = value;
    }
    if ([key isEqualToString:@"image_urls"]) {
        self.imgArr = [NSMutableArray array];
        self.imgArr = value;
    }
}

@end
